package com.hyfrogx.modules.job.task;

import com.hyfrogx.modules.manage.service.HyFlashLiveService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @version 1.0.0
 * @Author: lfh
 * @Date: 2019/10/10 16:01
 * @Company 汉咏科技
 */
@Slf4j
@Component("coindogFlashTask")
public class CoindogFlashTask {

    @Autowired
    private HyFlashLiveService hyFlashLiveService;

    public void getFlash()
    {
        log.info("快讯更新任务开始执行");
        hyFlashLiveService.getCoindog();
        log.info("快讯更新任务接受");
    }
}
